package com.wkk.websocket.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author : WangKeKe
 * @date : 2020/9/30 11:37
 * Description : 消息详情
 */

@Data
@Accessors(chain = true)
@ApiModel(description = "单个消息详情- 用于一对一 一对多交流")
public class MessageChatDto {

    @ApiModelProperty("发送者ID")
    private String sendUserId;

    @ApiModelProperty("发送者昵称")
    private String nickname;

    @ApiModelProperty("发送者头像URL")
    private String headUrl;

    @ApiModelProperty("消息ID")
    private String msgId;

    @ApiModelProperty("消息内容")
    private String msgContent;

    @ApiModelProperty("消息类型:方便前端区分")
    private String msgType;

}
